import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import logo from './anyun.png';
import styled from './index.less';

export default class Layouts extends Component {
  render() {
    return (
      <div className={styled.App}>
        <header className={styled['App-header']}>
          <img src={logo} className={styled['App-logo']} alt="logo" />
          <p>
            模块联邦
            {' '}
            <code>React</code>
            {' '}
            微服务框架
          </p>
          <div>
            <Link className={styled['App-link']} to="/">React Main</Link>
            <Link className={styled['App-link']} to="/body">React Body</Link>
          </div>
        </header>
      </div>
    );
  }
}
